package io;

import java.io.FileWriter;

public class IOException {
    public static void main(String[] args) {
        FileWriter fw = null;
        try {
            fw = new FileWriter("cb.txt", true);

        } catch (java.io.IOException e) {
            System.out.println(e);
        }finally {
            if (fw != null) {
                try {
                    fw.close();
                } catch (java.io.IOException e) {
                    e.printStackTrace();
                }
            }



        }
    }
}
